import { createWebHistory, createRouter } from "vue-router";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: "/", redirect: "/player" },
    { path: "/list", component: () => import("./List.vue") },
    { path: "/player", component: () => import("./Player.vue") },
  ],
});

export default router;
